<?php
	class Session {
		function Session() {
			if(!isset($_SESSION))
				session_start();
		}
		function register($item, $value) {
			$_SESSION[$item] = $value;
		}
		function item($name) {
			return(isset($_SESSION[$name]))?
				$_SESSION[$name]:
				false;
		}
		function stop() {
			session_destroy();
		}
	}
?>